using UnityEngine;
using System.Collections;

public class Unit : OfflineUnit
{
	public void Spawn(Vector3 startPos)
	{
		transform.position = startPos;
		currentPos = startPos;
	}
	
	public Vector3 currentPos = new Vector3(0.0f, 0.0f, -100.0f);
	
	void Update ()
	{
		transform.position = currentPos;
		//change transform.position
		currentPos = transform.position;
	}
}
